<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/14/014
 * Time: 17:41
 */

namespace app\api\controller\v1;

use app\api\controller\BaseController;
use app\api\model\Registration as RegistrationModel;

class Registration extends BaseController {

    /**
     * 签到页面数据
     * @return mixed
     */
    public function registrationIndexInfo() {
        $data = RegistrationModel::registrationIndexInfo();
        return $data;
    }

    /**
     * 签到接口
     * @return mixed
     */
    public function saveRegistration() {
        $data = RegistrationModel::saveRegistration();
        return $data;
    }

    /**
     * 签到记录列表
     * @return \think\Paginator
     */
    public function registrationList()
    {
        $data = RegistrationModel::registrationList();
        return $data;
    }
}